package com.dkh.recommend.mapper;

import com.dkh.recommend.dto.AnalysisDTO;
import com.dkh.recommend.entity.TbLabel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dkh
 * @since 2022-12-14
 */
@Repository
public interface TbLabelMapper extends BaseMapper<TbLabel> {
    //    根据音乐Id查找音乐的标签s
    public List<TbLabel> getMusicLabelNameBymusicId(Long music_id);

    //  喜好分析
    List<AnalysisDTO> AnalysisLike(Long user_id);
}
